Applying the same conditions to 2 different arguments in a function